package com.zj.user.Repository;

import com.zj.user.domain.User;
import org.springframework.data.jpa.repository.JpaRepository;


/**
 * @Auther: zj
 * @Date: 2018/11/13 21:23
 * @Description:
 */
public interface UserRepository extends JpaRepository<User,Integer>{

    User findOneById(Integer id);

    User findOneByUsername(String username);

    User findOneByHasFreeze(Integer hasFreeze);

}
